package com.learm.thread;

public class LinkDemo {

    private String key;
    private String value ;

    private LinkDemo prev;
    private LinkDemo next;


    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public LinkDemo getPrev() {
        return prev;
    }

    public void setPrev(LinkDemo prev) {
        this.prev = prev;
    }

    public LinkDemo getNext() {
        return next;
    }

    public void setNext(LinkDemo next) {
        this.next = next;
    }
}
